<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DesignPattern: C:/96_project/DesignPattern/11_Flyweight/groupinc/DESIGNPATTERN_ConcreteFlyweight.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="DesignPattern.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DesignPattern
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_055b986a60c1956738c96430354f3f08.html">11_Flyweight</a></li><li class="navelem"><a class="el" href="dir_ddaeb8b349ce008a0708169a0598d8c4.html">groupinc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">DESIGNPATTERN_ConcreteFlyweight.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_CONCRETEFLYWEIGHT_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define CXX_DESIGNPATTERN_CONCRETEFLYWEIGHT_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_FLYWEIGHT_H</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_8h.html">DESIGNPATTERN_Flyweight.h</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_concrete_flyweight.html">   17</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_concrete_flyweight.html">ConcreteFlyweight</a> : <span class="keyword">public</span> <a class="code" href="class_flyweight.html">Flyweight</a></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;{</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <a class="code" href="class_concrete_flyweight.html#a48b196956a88c3ad1417b9a2cf54f021">ConcreteFlyweight</a>(<span class="keyword">const</span> <span class="keywordtype">string</span>&amp; strIntrinsicState);</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_concrete_flyweight.html#adfefe2c045cb19bd100bc48fbac51642">~ConcreteFlyweight</a>();</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> <a class="code" href="class_concrete_flyweight.html#aefa7236e78af13abc5406b1976b279df">Operation</a>();</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordtype">string</span> <a class="code" href="class_concrete_flyweight.html#a821bfc2040e7451df9e9bd45048beeec">GetIntrinsicState</a>();</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> <a class="code" href="class_concrete_flyweight.html#a718593501a9db7f388fe3659e6e7768a">SetIntrinsicState</a>(<span class="keyword">const</span> <span class="keywordtype">string</span>&amp; strIntrinsicState);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <a class="code" href="class_concrete_flyweight.html#a48b196956a88c3ad1417b9a2cf54f021">ConcreteFlyweight</a>();</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <a class="code" href="class_concrete_flyweight.html#a48b196956a88c3ad1417b9a2cf54f021">ConcreteFlyweight</a>(<span class="keyword">const</span> <a class="code" href="class_concrete_flyweight.html">ConcreteFlyweight</a>&amp; cConcreteFlyweight);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <a class="code" href="class_concrete_flyweight.html">ConcreteFlyweight</a>&amp; <a class="code" href="class_concrete_flyweight.html#ab8996148b50134d89de7fdd1d3ed2bad">operator=</a>(<span class="keyword">const</span> <a class="code" href="class_concrete_flyweight.html">ConcreteFlyweight</a>&amp; cConcreteFlyweight);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="class_concrete_flyweight.html#a98da9af6c7989d7276f6adc50207dc9b">   88</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="class_concrete_flyweight.html#a98da9af6c7989d7276f6adc50207dc9b">m_strIntrinsicState</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;};</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">/* &gt;&gt;CXX_DESIGNPATTERN_CONCRETEFLYWEIGHT_H&lt;&lt; */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor"></span><span class="comment">/* EOF */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_concrete_flyweight_html_ab8996148b50134d89de7fdd1d3ed2bad"><div class="ttname"><a href="class_concrete_flyweight.html#ab8996148b50134d89de7fdd1d3ed2bad">ConcreteFlyweight::operator=</a></div><div class="ttdeci">ConcreteFlyweight &amp; operator=(const ConcreteFlyweight &amp;cConcreteFlyweight)</div></div>
<div class="ttc" id="aclass_concrete_flyweight_html_a718593501a9db7f388fe3659e6e7768a"><div class="ttname"><a href="class_concrete_flyweight.html#a718593501a9db7f388fe3659e6e7768a">ConcreteFlyweight::SetIntrinsicState</a></div><div class="ttdeci">VOID SetIntrinsicState(const string &amp;strIntrinsicState)</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8cpp_source.html#l00071">DESIGNPATTERN_ConcreteFlyweight.cpp:71</a></div></div>
<div class="ttc" id="aclass_concrete_flyweight_html"><div class="ttname"><a href="class_concrete_flyweight.html">ConcreteFlyweight</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8h_source.html#l00017">DESIGNPATTERN_ConcreteFlyweight.h:17</a></div></div>
<div class="ttc" id="aclass_concrete_flyweight_html_aefa7236e78af13abc5406b1976b279df"><div class="ttname"><a href="class_concrete_flyweight.html#aefa7236e78af13abc5406b1976b279df">ConcreteFlyweight::Operation</a></div><div class="ttdeci">virtual VOID Operation()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8cpp_source.html#l00046">DESIGNPATTERN_ConcreteFlyweight.cpp:46</a></div></div>
<div class="ttc" id="a_my_self_def_8h_html_a7927e087749615dae3114cc27b91c86d"><div class="ttname"><a href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a></div><div class="ttdeci">void VOID</div><div class="ttdef"><b>Definition:</b> <a href="_my_self_def_8h_source.html#l00011">MySelfDef.h:11</a></div></div>
<div class="ttc" id="aclass_flyweight_html"><div class="ttname"><a href="class_flyweight.html">Flyweight</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_8h_source.html#l00016">DESIGNPATTERN_Flyweight.h:16</a></div></div>
<div class="ttc" id="a_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_8h_html"><div class="ttname"><a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_8h.html">DESIGNPATTERN_Flyweight.h</a></div><div class="ttdoc">1.When the algorithm to create complex object should be independent of the part of the object,...</div></div>
<div class="ttc" id="aclass_concrete_flyweight_html_a821bfc2040e7451df9e9bd45048beeec"><div class="ttname"><a href="class_concrete_flyweight.html#a821bfc2040e7451df9e9bd45048beeec">ConcreteFlyweight::GetIntrinsicState</a></div><div class="ttdeci">string GetIntrinsicState()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8cpp_source.html#l00058">DESIGNPATTERN_ConcreteFlyweight.cpp:58</a></div></div>
<div class="ttc" id="aclass_concrete_flyweight_html_adfefe2c045cb19bd100bc48fbac51642"><div class="ttname"><a href="class_concrete_flyweight.html#adfefe2c045cb19bd100bc48fbac51642">ConcreteFlyweight::~ConcreteFlyweight</a></div><div class="ttdeci">virtual ~ConcreteFlyweight()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8cpp_source.html#l00034">DESIGNPATTERN_ConcreteFlyweight.cpp:34</a></div></div>
<div class="ttc" id="aclass_concrete_flyweight_html_a98da9af6c7989d7276f6adc50207dc9b"><div class="ttname"><a href="class_concrete_flyweight.html#a98da9af6c7989d7276f6adc50207dc9b">ConcreteFlyweight::m_strIntrinsicState</a></div><div class="ttdeci">string m_strIntrinsicState</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8h_source.html#l00088">DESIGNPATTERN_ConcreteFlyweight.h:88</a></div></div>
<div class="ttc" id="aclass_concrete_flyweight_html_a48b196956a88c3ad1417b9a2cf54f021"><div class="ttname"><a href="class_concrete_flyweight.html#a48b196956a88c3ad1417b9a2cf54f021">ConcreteFlyweight::ConcreteFlyweight</a></div><div class="ttdeci">ConcreteFlyweight()</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
